export default [
    {
        path: '/',
        redirect: '/login'
    },
    {
        path: '/login',
        component: () => import(/* webpackChunkName: 'root' */ '@/views/login.vue'),
        meta: {
            title: '登录'
        }
    },
    {
        path: '/home',
        component: () => import(/* webpackChunkName: 'root' */ '@/views/index.vue'),
        meta: {
            title: '首页',
            requireLogin: true
        }
    }
]
